package com.rules.admin.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gillion.grule.client.core.BusinessModelAttribute;
import com.rules.admin.entity.BusinessModel;



import java.util.List;

public interface BusinessModelService extends IService<BusinessModel> {
   BusinessModel insert(BusinessModel businessModel);

   BusinessModel update(BusinessModel businessModel);

   List<BusinessModelAttribute> getModelAttributes(long id);

   IPage<BusinessModel> queryPage(String var1, IPage<BusinessModel> page);

   BusinessModel findByName(String name);
}
